<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Main.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>专家人物 — 中国影视科技网</title>
<link rel="stylesheet" type="text/css" href="<?=$TPL['url']?>css/zy_expert2009.css">
<!-- InstanceEndEditable -->
<link href="<?=$TPL['url']?>css/all.css" rel="stylesheet" type="text/css" />
<link href="<?=$TPL['url']?>css/header.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="<?=$TPL['url']?>css/expert2009.css">
<link rel="stylesheet" type="text/css" href="<?=$TPL['url']?>css/huadongmen.css">
<link rel="stylesheet" type="text/css" href="<?=$TPL['url']?>css/title_display.css">
<script type="text/javascript" src="<?=$TPL['url']?>../js/common.js"></script>
<script type="text/javascript" src="<?=$TPL['url']?>js/jquery.js"></script>
<script type="text/javascript" src="<?=$TPL['url']?>js/title_display.js"></script>
<script type="text/javascript" src="<?=$TPL['url']?>js/huadongmen.js"></script>
<?if(0){?>
<link href="css/all.css" rel="stylesheet" type="text/css" />
<link href="css/header.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/expert2009.css">
<link rel="stylesheet" type="text/css" href="css/huadongmen.css">
<link rel="stylesheet" type="text/css" href="css/title_display.css">
<link rel="stylesheet" type="text/css" href="css/zy_expert2009.css">
<?}?>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<script>
//用于js的url函数
function url(ctl,action,parameter){
	var ret = "";
	if(ctl != ''){
		ret += "<?=URL_WEB?>?<?=C('VAR_CONTROLLER')?>=" + ctl;
		if(action  != ''){
			ret += "&<?=C('VAR_ACTION')?>=" + action;
		}
		if(parameter != ""){
			ret += "&" . parameter;
		}
	}
	return ret;	
}
</script>
</head>

<body>
<!--导航部分开始-->
<div id="t_headbox" style="background-color:#FFFFFF;">
  <!--影视科技网头部登陆区开始-->
  <iframe src="/news/?action-paper-app-sitetop" width="100%" height="100%" scrolling="no" frameborder="0"></iframe>
  <!--影视科技网头部Logo及导航区区结束-->
</div>
<div id="exp_nav">
<?
$logo = $TPL['action'] == 'Person' 
? "people_logo.gif"
: "nav_logo.gif";

$url_2nd = $TPL['action'] == 'Person' 
? _url("Experts",'Person') 
: URL_WEB;

$url_name = $TPL['action'] == 'Person' 
? "影视科技人物"
: "专家频道";

?>
  <div id="nav_left"><a href='<?=$url_2nd?>'><img src="<?=$TPL['url']?>images/<?=$logo?>" border="0" /></a></div>
  <div id="nav_right">
    <ul id="nav">
      <li <?$search['type']=="2"&&print('class="curr"');?>><a href="<?=_url('Experts','Index','search[type]=2')?>">著名专家</a></li>
      <li class="line">|</li>
      <li <?$search['type']=="3"&&print('class="curr"');?>><a href="<?=_url('Experts','Index','search[type]=3')?>">知名专家</a></li>
      <li class="line">|</li>
      <li <?$search['type']=="4"&&print('class="curr"');?>><a href="<?=_url('Experts','Index','search[type]=4')?>">新锐专家</a></li>
      <li class="line">|</li>
      <li <?$TPL['action']=='Domain'&&print('class="curr"');?>><a href="<?=_url('Experts','Domain')?>">专家领域</a></li>
      <li class="line">|</li>
      <li <?$TPL['ctl']=='ExpertsDynamic'&&print('class="curr"')?>><a href="<?=_url('ExpertsDynamic')?>">专家动态</a></li>
      <li class="line">|</li>
      <li <?$TPL['ctl']=='ExpertsPaper'&&print('class="curr"')?>><a href="<?=_url('ExpertsPaper')?>">专家论文</a></li>
      <li class="line">|</li>
      <li <?$TPL['ctl']=='ExpertsNews'&&print('class="curr"')?>><a href="<?=_url('ExpertsNews')?>">专家新闻</a></li> 
      <li class="line">|</li>
      <li class="<?$TPL['action']=='Person'? print("nav_rw_act") : print("nav_rw")?>"><a href="<?=_url('Experts','Person')?>">影视科技人物有</a></li>
    </ul>
    <div id="search">
      <form name="form1" action="<?=_url('Experts','Search')?>" onsubmit="searchFormSubmit(this);return false;" >
        <span>
        <input type="image" src="<?=$TPL['url']?>images/btn_search.gif" value="" onclick="javascript:searchFormSubmit(this.form);return false" />
        </span> <span>
        <select name="stype" id="stype" >
          <option value="name">姓名</option>
          <option value="company">单位</option>
          <option value="position">职位</option>
          <option value="title">职称</option>
          <option value="domain">领域</option>
        </select>
        </span><span>
        <div id="schv">
          <input name="keywords" type="text" id="keywords" style="width:236px;height:17px;" value="" />
        </div>
        </span> <span class="help"><img src="<?=$TPL['url']?>images/help.gif" /><a href="expert_help.php">专家频道使用指南</a></span>
      </form>
    </div>
  </div>
</div>
<script>
$(document).ready(function(){
    $("#stype").change( function() {
      $("#schv").empty();
      switch($("#stype").val()){
       case "domain":
        $("#schv").append("<?=html_dropdown_list('keywords',M('ExpertsDomain')->getOptionGroup(),$search['domain'])?>");
       break;
       default :
        $("#schv").append("<input name='keywords' type='text' style='width:236px;height:17px;' >" );
        break;
      }
    });
});
</script>
<!--导航部分结束-->
<div id="current_path"><img src="<?=$TPL['url']?>images/zy_exp_currentpath.gif" /> <a href="http://www.cnsmpte.com/">中国影视科技网</a> &gt;

<a href="<?=$url_2nd?>"><?=$url_name?></a>
<?
foreach($sitenav as $name => $url){
	echo " &gt; ";
	$url 
	? print( "<a href='$url'>$name</a>") 
	: print($name);
}
?>
</div>
<!-- InstanceBeginEditable name="Body" -->

<!--子页面内容开始-->
<div class="main" style="margin-top:2px;" >
<div id="column_1of3">
  <!--动态开始-->
  <?include("Lib_DynamicList")?>
  <!--动态结束-->
  <!--领域导航开始-->
  <?include("Lib_DomainNav")?>
  <!--领域导航结束-->
  <!--申请加入开始-->
  <?include('Lib_ExpertsRegister')?>
  <!--申请加入结束-->
</div>
<div id="column_2of2">
  <!--活跃度排名开始-->
  <div id="zy_huoyuedu_con">
    <div id="zy_huoyuedu_top"></div>
    <div id="zy_hyd_title"><img src="<?=$TPL['url']?>images/zy_zj_paiming.gif" />知名专家排名</div>
    <dl>
      <dt> <span class="sp01">排名</span> <span class="sp02"> <a href="?type=2&amp;order=truename" title="排序" >专家</a> </span> <span class="sp03"> <a class="currdown" href="?type=2&amp;order=total&amp;by=asc" title="排序" >活跃度</a> </span> <span class="sp04"> <a href="?type=2&amp;order=havepaper" title="排序" >论文数量</a> </span> <span class="sp05"> <a href="?type=2&amp;order=havetrends" title="排序" >专家动态</a> </span> <span class="sp06"> <a href="?type=2&amp;order=havenews" title="排序" >专家新闻</a> </span>
          <div class="bg_repeat"></div>
      </dt>
      
      <?
	  $order = _gp('order','string') ? _gp('order','string') : 'credit';
	  $type = _gp('type','int') ? _gp('type','int') : '3';
	  $dir = _gp('dir','string') ? _gp('dir','string') : 'desc';
	  $data = get_list('Experts',"perpage/32/order/$order $dir/type/$type");
      foreach($data['list'] as $key => $row){ 
      	$urlpaper = $row['paper_qty'] > 0  ?  array("<a href = '" . _url('Experts','PaperList',"uid=$row[uid]") . "'>",'</a>') : array("","");
      	$urldynamic = $row['dynamic_qty'] > 0  ?  array("<a href = '" . _url('Experts','Dynamic',"uid=$row[uid]") . "'>",'</a>') : array("","");
      	$urlnews = $row['news_qty'] > 0  ?  array("<a href = '" . _url('Experts','NewsList',"uid=$row[uid]") . "'>",'</a>') : array("","");
      ?>
      
      <dd>
      	<span class="sp01"><?=$key+1?></span>
        <span class="sp02"><a href="<?=_url('Experts','View',"uid=$row[uid]")?>"><?=$row['name']?></a></span>
        <span class="sp03"><?=$row['credit']?></span> 
        <span class="sp04"><?=$row['paper_qty']?></span>
        <span class="sp05"><?=$urldynamic[0]?>动态<?=$urldynamic[1]?><span>（<?=$row['dynamic_qty']?>）</span> </span>
        <span class="sp06"><?=$urlnews[0]?>新闻<?=$urlnews[1]?> <span>（<?=$row['news_qty']?>）</span> </span>
        <div class="bg_repeat"></div>
      </dd>
      <?}?>
    </dl>
    <div id="zy_huoyuedu_bottom"></div>
  </div>
  <!--活跃度排名结束-->
  <div class="fanye_out" style="width:728px;">
  	<?=$data['pager']?>
  </div>
</div>
  <div class="bg_repeat"></div>
</div>
<!-- InstanceEndEditable --> 
<div id="b_footbox">
  <iframe src="/news/?action-paper-app-sitebottom" width="100%" height="100" scrolling="no" frameborder="0"></iframe>
</div>
</body>
<!-- InstanceEnd --></html>
